Microsoft Office
Types used for interacting with Word documents and Excel spreadsheets.
📄 Word Documents (MSWordDocument)​
Represents an open Microsoft Word document and provides functions to manipulate it.
Properties​
| Property | Description |
|---|---|
GetName | Returns the name of the active document. |
GetPath | Returns the full system path where the document is stored. |
GetType | Returns "mswdoc". |
Functions​
| Function | Description |
|---|---|
Save() | Saves the current document. |
Close() | Closes the current document. |
Quit() | Completely closes the Microsoft Word application. |
FindAndReplace(find, replace, replaceAll, clearFormatting) | Finds and replaces text within the document. |
📊 Spreadsheets (Spreadsheet)​
Represents an open Excel spreadsheet.
Properties​
| Property | Description |
|---|---|
GetType | Returns "spreadsheet". |
Note: For manipulating spreadsheets, please see the specific Excel Actions in the Actions Gallery.